﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ConnectToDatabase.Model
{
    [Serializable()]
    public class KhuyenMai
    {
        private string m_sMaKhuyenMai;
        private string m_sMaDauSanPham;
        private string m_sNoiDungKM;
        private int m_iPTGiamGia;
        private DateTime m_dNgayBatDau;
        private DateTime m_dNgayKetThuc;

        public DateTime NgayKetThuc
        {
            get { return m_dNgayKetThuc; }
            set { m_dNgayKetThuc = value; }
        }
        public int PTGiamGia
        {
            get { return m_iPTGiamGia; }
            set { m_iPTGiamGia = value; }
        }
        public DateTime NgayBatDau
        {
            get { return m_dNgayBatDau; }
            set { m_dNgayBatDau = value; }
        }

        public string NoiDungKM
        {
            get { return m_sNoiDungKM; }
            set { m_sNoiDungKM = value; }
        }

        public string MaDauSanPham
        {
            get { return m_sMaDauSanPham; }
            set { m_sMaDauSanPham = value; }
        }

        public string MaKhuyenMai
        {
            get { return m_sMaKhuyenMai; }
            set { m_sMaKhuyenMai = value; }
        }
    }
}
